package com.microservices.yucloud.gateway.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zy
 * @date 2019-08-06 20:05
 **/
@FeignClient(name = "api")
public interface TestService {

    @RequestMapping(value = "test1", method = RequestMethod.GET)
    String test1(@RequestParam String key);
}
